package com.das.mechanic_base.mvp.contract.create;

import com.das.mechanic_base.base.X3IBaseView;
import com.das.mechanic_base.bean.create.SelectWorkBean;
import com.das.mechanic_base.bean.main.DoneDetectionBean;

import java.util.List;
import java.util.Map;

public interface X3SelectWorkContract {

    interface View extends X3IBaseView {

        /**
         * 获取下单的服务列表成功
         */
        void getServiceListSuccess(List<SelectWorkBean> mList,String keyWord);
        void getServiceListFail();

        void getDoneDetectionListSuccess(List<DoneDetectionBean> mList);
        void getDoneDetectionListFail();

    }

    interface Presenter {

        /**
         * 获取下单的服务列表
         * @param map
         */
        void getServiceList(Map<String,Object> map);

        /**
         * 获取已经完成的接车单的服务项目
         * @param receiveBaseId
         */
        void getDoneDetectionList(long receiveBaseId);

    }
}
